import ballerina/http;
import ballerina/log;

service hello on new http:Listener(9090) {
    resource function sayHello(http:Caller caller, http:Request request) {
        var result = caller->respond("Hello World");
        if (result is error) {
            log:printError("Service oof'd", err = (result));
        }
    }
}